module.exports = (app) =>{
    const {router,controller} = app;
    router.get('/',controller.home.index);
    router.post('/login',controller.user.login);  //  登录
    router.post('/registry',controller.user.registry)  // 注册
    router.get('/verify',controller.user.verify);
    router.resources('addrlist',"/addrlist",controller.addr);
    router.post('/addrlistput',controller.addr.createDefault);  // 设置默认地址
}   